import { defineStore } from 'pinia'

export const ReceiveAndreturn = defineStore('ReceiveAndreturn', {
  state: () => {
    return {
      pageName: '领用归还',
      tableData: [
        {
          id: 1,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 2,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 3,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 4,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 5,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 6,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 7,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 8,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 9,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 10,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 11,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        },
        {
          id: 12,
          serialNumber: 'SQ23897213',
          department: '技术部',
          person: '李四',
          time: '2021-12-06 ~ 2021-12-31',
          cause: '测试借用',
          number: '2',
          state: '未归还'
        }
      ]
    }
  }
})
